function Trailer(){

	var that = this
	
	this.update = function(data) {
		var htmldata = 	"";
		
		//htmldata += "<form name='refreshfrm' action='javascript:refresh()'>";
		//htmldata += "<table><tr><td><input type='submit' name='SubmitForm' value='Refresh' /></td></tr></table></form>";
				
		//htmldata += "<form name='endgamefrm' action='javascript:endGame()'>";
		//htmldata += "<table><tr><td><input type='submit' name='SubmitForm' value='End Game' /></td></tr></table></form>";
			
		
		htmldata += "<form action='index.php' method='post'>";
		htmldata += "<input type='hidden' name='cmd' value='exitgame'/>";
		htmldata += "<input type='submit' name='SubmitForm' value='Exit' />"
		htmldata += "</form>";
			
		var sec_trailer = document.getElementById('sec_trailer');
		sec_trailer.innerHTML = htmldata;
	}
}